package tabdulin.sms;

/**
 * @author Talgat Abdulin
 *
 */
public class Sms {
    public static final int UNKNOWN_ERROR = 0;
    public static final int CAPTCHA_CODE_ERROR = 1;
    public static final int TOO_LONG_MESSAGE_ERROR = 2;
    public static final int NUMBER_ERROR = 3;

    private String sender;
    private String message;
    private String prefix;
    private String number;
    private String code;
    private boolean translitUsed;

    public void setSender(String sender) {
        this.sender = sender;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Sms() {
    }

    public Sms(String sender, String text, String prefix, String number, String code) {
        this.sender = sender;
        this.message = text;
        this.prefix = prefix;
        this.number = number;
        this.code = code;
    }

    public String getSender() {
        return sender;
    }

    public String getMessage() {
        return message;
    }

    public String getPrefix() {
        return prefix;
    }

    public String getNumber() {
        return number;
    }

    public String getCode() {
        return code;
    }

    public void setTranslitUsed(boolean translitUsed) {
        this.translitUsed = translitUsed;
    }

    public boolean isTranslitUsed() {
        return translitUsed;
    }
}
